<?php

class Xzsdsplus_Costpriceplus_Block_Tabs extends Mage_Adminhtml_Block_Widget_Tabs {

	public function __construct() {
		parent::__construct();
		$this->setId('banner_tabs');
		$this->setDestElementId('edit_form');
		$this->setTitle(Mage::helper('costpriceplus')->__('Banner Information'));
	}

	protected function _beforeToHtml() {
	  $this->addTab('form_section', array(
		  'label'     => Mage::helper('costpriceplus')->__('Banner Information'),
		  'title'     => Mage::helper('costpriceplus')->__('Banner Information'),
		  'content'   => $this->getLayout()->createBlock('costpriceplus/tab_form')->toHtml(),
	  ));

	return parent::_beforeToHtml();
	}
}
